<?php
/**
 * Created by PhpStorm.
 * User: qishengqiang
 * Date: 2022-07-21
 * Time: 15:45
 */

namespace app\models;


class Activities extends ModelBase
{
    protected $pk = 'activityId';

    public function getStatusText()
    {
        return $this->status == 1?'上架':'下架';
    }
}